﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>@((string)ViewBag.Title ?? "RedSand Content Manager System")</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <!-- mws theme -->
    <link rel="stylesheet" type="text/css" href="/content/backend/mws-theme/css/style.css" media="screen"/>

    <!-- common javascript -->
    <script type="text/javascript" src="/scripts/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="/scripts/jquery-ui-1.8.17.min.js"></script>
    <script type="text/javascript" src="/scripts/jquery.cookie.js"></script>
    <script src="/scripts/jquery.form.js" type="text/javascript"></script>

    <!-- mvc javascript -->
    <script src="/scripts/jquery.validate.min.js" type="text/javascript"></script>
    <script src="/scripts/jquery.validate.unobtrusive.min.js" type="text/javascript"></script>
    <script src="/scripts/jquery.unobtrusive-ajax.min.js" type="text/javascript"></script>

    <!-- theme javascript -->
    <script type="text/javascript" src="/content/backend/mws-theme/js/theme.js"></script>

    <!-- rs script common -->
    <script src="/scripts/rs.ajaxupload.js" type="text/javascript"></script>
    <script src="/scripts/rs.admin.common.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(window).load(function () {
            showMessage('@Html.Action("GetMessage", "Base")');
        });
    </script>
</head>
<body>
    <div id="loading-panel">In processing..</div>
    <div id="header" class="clearfix">
        <div id="logo">
            <a href="/admin" title="RedSand Content Manager System">
                <img src="../../Content/Backend/mws-theme/images/logo.png" alt="RedSand Content Manager System" style="height:50px; margin-top:4px" />
            </a>
        </div>
        @if (User.Identity.IsAuthenticated)
        {
        <div id="user-info" class="inset">
            <div>
                Hello, @User.Identity.Name
            </div>
            <div>
                <a href="/account/logout">Logout</a>
            </div>
        </div>
        }
    </div>
    <div id="wrapper">
        <div id="sidebar-bg"></div>
        <div id="sidebar">
            @Html.Action("Menu", "Action")
        </div>
        <div id="splitbar"></div>
        <div id="container" class="clearfix">
            <div class="container">
                @RenderBody()
            </div>
            <div id="footer">
                Công ty cổ phần phát triển công nghệ RedSand - &copy; redsand.vn 2012
            </div>
        </div>
    </div>
</body>
</html>
